package com.ikkong.system.meta.intercept;

import com.ikkong.core.aop.AopContext;
import com.ikkong.core.constant.ConstShiro;
import com.ikkong.core.jfinal.ext.kit.JStrKit;
import com.ikkong.core.jfinal.ext.shiro.ShiroKit;
import com.ikkong.core.meta.PageIntercept;

import java.util.Map;

public class OrderIntercept extends PageIntercept {

	public void queryBefore(AopContext ac) {
        String condition = "and u_id = " + ShiroKit.getUser().getId().toString();
        ac.setCondition(condition);
    }

}
